]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
ShellApp: Fix comment about window-backed apps
authorColin Walters <walters@verbum.org>
Thu, 11 Aug 2011 10:34:09 +0000 (06:34 -0400)
committerColin Walters <walters@verbum.org>
Thu, 11 Aug 2011 14:11:36 +0000 (10:11 -0400)
https://bugzilla.gnome.org/show_bug.cgi?id=648149

src/shell-app.c

index 0d20f3a80696d49a6ee3bd9a2ea53cb9a43af801..3acab60133561b1dd557f7ac3f585f51d0fa69ce 100644 (file)
@@ -58,7 +58,13 @@ struct _ShellApp
 
   ShellAppState state;
 
-  GMenuTreeEntry *entry; /* If NULL, this app is backend by exactly one MetaWindow */
+  GMenuTreeEntry *entry; /* If NULL, this app is backed by one or more
+                          * MetaWindow.  For purposes of app title
+                          * etc., we use the first window added,
+                          * because it's most likely to be what we
+                          * want (e.g. it will be of TYPE_NORMAL from
+                          * the way shell-window-tracker.c works).
+                          */
 
   ShellAppRunningState *running_state;